home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / Expander / Expander Classes / CRowColumnMgr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-30  |  1.3 KB  |  49 lines  |  [TEXT/KAHL]

  1. /***********************************************************************************
  2.     CRowColumnMgr.h
  3.  
  4.     Copyright © 1994 B-Ray Software. All rights reserved.
  5.     Developed using Symantec C++ 7.0.2 and Symantec's TCL library.
  6.     Portions of this code courtesy Symantec, Inc.
  7.  
  8.     This code may be freely distributed as long as this notice remains. This code
  9.     may not be used in any commercial software without the consent of B-Ray Software.
  10.  
  11.     ---
  12.  
  13.     Header file for CRowColumnMgr class
  14.  
  15. ***********************************************************************************/
  16. #pragma once
  17.  
  18.  
  19. #include <CPane.h>
  20.  
  21. #include "CFamily.h"
  22.  
  23.  
  24. class CRowColumnMgr : public CFamily {
  25.  
  26. TCL_DECLARE_CLASS
  27.  
  28. private:
  29.     virtual void    AdjustForChildChange( long changedIndex, Rect *delta );
  30.     virtual void    AdjustChildren( long changedIndex, Rect *delta );
  31.     virtual void    MakeChildrenValid( long changedIndex );
  32.  
  33. protected:
  34.     virtual void    ChangeSelf( long changedIndex, Rect *delta ) = 0;
  35.     virtual void    PositionChild( CPane *aChild, long index ) = 0;
  36.     virtual void    AdjustDelta( Rect *delta ) = 0;
  37.  
  38.     virtual void    ChildMessage( CFamily *aChild, long message, void *param );
  39.  
  40. public:
  41.  
  42.     virtual void    InsertChildAt( CFamily *aChild, long index );
  43.     virtual void    RemoveChild( CFamily *aChild );
  44. };
  45.  
  46.  
  47. #define kRowColChildChanged                'RcCC'
  48.  
  49.